package com.marvels.system.permission.dto;

import java.util.List;

import com.marvels.common.dto.PageDTO;

/**
 * 角色
 * @author wangliang
 *
 */
public class SysRoleDTO extends PageDTO  {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//主键
    private Integer roleId;
    //角色代码
    private String roleCode;
    //角色名称
    private String roleName;
    //角色优先级
    private Integer roleLevel;
    //是否是业务人员 1是 0不是
    private Integer isBussiness;
    //状态 1可用0不可用
    private Integer status;
    //描述
    private String description;
    
    private List<SysRoleMenuDTO> menus;
    //查询角色
    private List<String> queryRoleCodes;
    //角色下的用户
    private List<SysUserDTO> sysUsers;

    private List<String> ignoreUserCodeList;
    
    public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }


	public Integer getRoleLevel() {
		return roleLevel;
	}

	public void setRoleLevel(Integer roleLevel) {
		this.roleLevel = roleLevel;
	}

	public Integer getIsBussiness() {
		return isBussiness;
	}

	public void setIsBussiness(Integer isBussiness) {
		this.isBussiness = isBussiness;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public List<SysRoleMenuDTO> getMenus() {
		return menus;
	}

	public void setMenus(List<SysRoleMenuDTO> menus) {
		this.menus = menus;
	}

	public List<String> getQueryRoleCodes() {
		return queryRoleCodes;
	}

	public void setQueryRoleCodes(List<String> queryRoleCodes) {
		this.queryRoleCodes = queryRoleCodes;
	}

	public List<SysUserDTO> getSysUsers() {
		return sysUsers;
	}

	public void setSysUsers(List<SysUserDTO> sysUsers) {
		this.sysUsers = sysUsers;
	}

	public List<String> getIgnoreUserCodeList() {
		return ignoreUserCodeList;
	}

	public void setIgnoreUserCodeList(List<String> ignoreUserCodeList) {
		this.ignoreUserCodeList = ignoreUserCodeList;
	}
    
	
    
}